Auto merge of #2390 - vi:conditionalize_adding_cargo_lock_to_gitignore, r=alexcrichton
authorbors <bors@rust-lang.org>
Wed, 17 Feb 2016 19:23:14 +0000 (19:23 +0000)
committerbors <bors@rust-lang.org>
Wed, 17 Feb 2016 19:23:14 +0000 (19:23 +0000)
For cargo new, it depends on --bin option

For cargo init, it depends on detected files
(--bin option may be used or may be ignored)

No tests conver this code so far.


Trivial merge